package com.nbot.server.mapper.cluster;

import com.nbot.server.domain.TAqyhAqyhgl;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TAqyhAqyhglMapper {
    int deleteByPrimaryKey(String id);

    int insert(TAqyhAqyhgl record);

    int insertSelective(TAqyhAqyhgl record);

    TAqyhAqyhgl selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TAqyhAqyhgl record);

    int updateByPrimaryKeyWithBLOBs(TAqyhAqyhgl record);

    int updateByPrimaryKey(TAqyhAqyhgl record);

    int getTodayCount();


    List<TAqyhAqyhgl> findLastN(@Param("n") int n);
}